package edu.cmu.vlis.wassup.db;

/**
 * This class is used to map the relationship between announcement and user
 * @author Jassica
 *
 */
public class Announcement_User {
	// private parameters, which delegate user's different information
	 private Announcement announcement_id;
	 private User receiver_id;
	 
	 // Constructor takes primary keys as arguments
	 public Announcement_User(Announcement id1, User id2) {
		 announcement_id = id1;
		 receiver_id = id2;
	 }
	 
	 
	public Announcement getAnnouncement_id() {
		return announcement_id;
	}


	public User getReceiver_id() {
		return receiver_id;
	}
}

